﻿using HZYProject.Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace HZYProject.Web.Models
{
    public class ModuleAddAndUpdateModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid ModuleID { get; set; }

        [StringLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 权限分类Id
        /// </summary>
        public int ModuleCategoryId { get; set; }
        /// <summary>
        /// action/controller
        /// </summary>
        [StringLength(50)]
        public string PageKey { get; set; }

        [StringLength(50)]
        public string PageUrl { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        public ModuleType ModuleType { get; set; }
    }
}
